package demo03;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @ClassName Demo
 * @Description TODO
 * @Author zhongge
 * @Version 1.0
 */
public class Demo {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context
                = new AnnotationConfigApplicationContext("demo03");
        Person person = context.getBean(Person.class);
        person.play();
    }
}
